/*import Vue from 'vue/dist/vue.common.js'*/
import Vue from 'vue';
import App from './App.vue'
import router from './router'
import VueRouter from 'vue-router';
import '@/common/less/common.less';
import ELEMENT from 'element-ui';
import $ from 'jquery';
//import 'element-ui/lib/theme-chalk/index.css';
import axios from 'axios';
import {get,post,put,patch} from './lib/http';//异步请求
import {gets,sets,remove,clear} from './lib/localData';//存入本地
import {downloadFileGet} from "./js/util/download"
import layer from 'vue-layer'
import echarts from 'echarts'
Vue.prototype.$get = get;
Vue.prototype.$post = post;
Vue.prototype.$put = put;
Vue.prototype.$patch = patch;
Vue.prototype.get = gets;
Vue.prototype.set = sets;
Vue.prototype.remove = remove;
Vue.prototype.clear = clear;
Vue.prototype.downloadFileGet=downloadFileGet;
Vue.prototype.echarts = echarts;
Vue.prototype.$ = $;
Vue.prototype.layer = layer(Vue);
import 'vue-layer/lib/vue-layer.css';
Vue.use(echarts)
Vue.use(VueRouter);
Vue.use(ELEMENT);
Vue.config.productionTip = false
axios.defaults.headers['Content-Type'] = 'application/x-www-form-urlencoded'

new Vue({
    el: '#app',
    router,
    components: { App },
    template: '<App/>'
});
